<template>
	<div class="container">
		<navigationBar title="联系我们"></navigationBar>
		<div class="content" :style="'padding-top: ' + (navigationBarHeight-1) + 'px;'">
			<div class="user-info">
				<div class="avatar">
					<image class="user" :src="userInfo.avatar || '/static/logo.png'" alt="" :lazy-load="true"></image>
				</div>
			</div>
			<div class="contact">
				<span class="left">联系电话</span>
				<span class="right">{{netData}}</span>
			</div>
		</div>
	</div>
</template>

<script>
	import data from '@/js/my/contact/data.js';
	import methods from '@/js/my/contact/methods.js';
	import {
		mapState
	} from 'vuex';
	import navigationBar from '../../components/navigationBar.vue';
	export default {
		data,
		methods,
		onLoad() {
			this.getPageData()
		},
		onShow() {},
		onHide() {},
		components: {
			navigationBar
		},
		computed: {
			...mapState(['navigationBarHeight', 'userInfo'])
		}
	};
</script>
<style>
	page,
	uni-page {
		background-color: #FAFAFA !important;
	}
</style>
<style scoped lang="scss">
	@import '~@/style/my/contact.scss';
</style>